package com.lemon.cloud.websocket.handler;

import org.springframework.web.socket.WebSocketSession;

/**
 * @author HuangDS
 *
 * 业务实现集成该接口，注入spring，定义spring bean
 * */
public interface PlanTextMessageHandler {

    /**
     * 处理消息
     * @param session
     * @param message
     */
    void handle(WebSocketSession session, String message);
}
